<?php 
Route::post('toLogin','LoginController@login');

Route::post('toLogout','LoginController@logout');